import request from "./request";

// 分页列表
export const pageList = (params: object) => {
    return request({
        url: "/sys/usercon/pageList",
        method: 'POST',
        data: params
    })
}

// 添加信息
export const insert = (params: object) => {
    return request({
        url: "/sys/usercon/insert",
        method: 'POST',
        data: params
    })
}

// 更新信息
export const update = (params: object) => {
    return request({
        url: "/sys/usercon/update",
        method: 'POST',
        data: params
    })
}

// 删除信息
export const remove = (params: object) => {
    return request({
        url: "/sys/usercon/remove",
        method: 'POST',
        data: params
    })
}

export default {
    pageList, insert, update, remove
}